package mc747.servicos.enderecos;

import home.axis2.testcase.EnderecosServiceLocator;
import home.axis2.testcase.EnderecosServicePortType;

import javax.xml.rpc.ServiceException;

import org.tempuri.WsConsultaClienteLocator;
import org.tempuri.WsConsultaClienteSoap;

public class EnderecosFactory {
	
	public EnderecosServicePortType Enderecos() {
		try {
			return new EnderecosServiceLocator().getEnderecosServiceHttpSoap11Endpoint();
		} catch (ServiceException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}
}
